<?php
//首页信息展示

namespace App\Http\Controllers\Manage;

use App\Http\Controllers\BaseController;
use App\Services\Manage\HomeManageService;
use Illuminate\Http\Request;

class HomeController extends BaseController
{

    private $homeManageService;

    public function __construct(HomeManageService $homeManageService)
    {
        $this->homeManageService = $homeManageService;
    }

    /**
     * 首页信息展示
     * @param  Request  $request
     * @return \Illuminate\Http\JsonResponse
     */
    public function index(Request $request)
    {
        $res = $this->homeManageService::index();

        return $this->success($res);
    }



}